import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import './UTIcon.less';

const UTIcon = ({ type }) => {
  // return <i className={classNames(styles.iconfonts, { [styles[`icon-${type}`]]: true }) } />;
  return <i className={`iconfonts icon-${type}`} />;
};

UTIcon.propTypes = {
  type: PropTypes.string,
};

export default UTIcon;
